#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>
char* my_strncpy(char* des, const char* str, size_t num)
{
	assert(des && str);
	char* cp = des;
	while (num--)
	{
		*des++ = *str++;
	}
	return *cp;
}
int main()
{
	char arr[20] = { 0 };
	char arr1[] = { "i like you" };
	int a = 0;
	scanf("%d", &a);
	my_strncpy(arr, arr1, a);
	printf("%s",arr);
	return 0;
}